<?php

namespace mpend\modules\user\models\traits;

use common\models\orange\OrangeShopGoods;

trait Goods {

    public $goodsId;

    public function getDetail() {
        $model = OrangeShopGoods::find()
        ->where(['id' => $this->goodsId])
        ->one();
        return $model;
    }

}
